package com.sc.nft.admin.request;

import com.fasterxml.jackson.annotation.JsonFormat;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.NoArgsConstructor;

import javax.validation.constraints.NotBlank;
import java.util.Date;

@Data
@NoArgsConstructor
public class UpdateSysMemberRequest {


    @ApiModelProperty("id")
    @NotBlank(message = "用户编号不能为空")
    private Long id;


    @ApiModelProperty("用户名")
    private String userAccount;


    @ApiModelProperty("用户角色")
    private Long roleId;
    @ApiModelProperty("用户头像")
    private String userPic;


    @ApiModelProperty("用户姓名")
    private String userName;


    @ApiModelProperty("性别")
    private Integer userSex;


    @ApiModelProperty("出生年月日")
    @JsonFormat(timezone = "GMT+8", pattern = "yyyy-MM-dd HH:mm:ss")
    private Date userBirthday;


    @ApiModelProperty("手机号")
    private String phone;


}
